package com.daon.service;

import com.daon.common.ServerResponse;
import com.daon.param.SysNodeParam;
import com.daon.pojo.SysNode;

import java.util.List;

/**
 * @Author 1daon
 * @EMAIL 532418116@qq.com
 * @Version 创建时间：2019/1/19 9:44 PM
 * @Modified By
 */
public interface ISysNodeService {

    List<SysNode> getNodeList();

    ServerResponse save(SysNodeParam sysNodeParam);

    SysNode getNodeByNodeId(Integer nodeId);

    ServerResponse update(SysNodeParam sysNodeParam);

    ServerResponse deleteSysNodeById(int nodeId);

    List<Object> getNodeChildNumList(List<Object> sysNodeTree);

    List<SysNode> getNodeListByCurrentUserId();
}
